<?php
$data = "15/05/2010";
$linha = 2;
$coluna = 1;
require("../fpdf/fpdf.php");
define('FPDF_FONTPATH','../fpdf/font/');
$pdf= new FPDF('P','mm','Letter');
$pdf->SetY("-2");
$pdf->SetX("5");
$pdf->SetFont('arial','B',28);
$pdf->SetTextColor(255,255,255);
while($linha != 0){
	$pdf->Cell('0','50.8','','',2);
	$linha--;
}
if ($coluna ==1){
	$pdf->Cell('101.6');
$pdf->SetFillColor('0');
$pdf->Cell(101.6,50.8,'',1,T,1, 1, true);
$pdf->Ln('20');
$pdf->SetX("111.6");
$pdf->Write('',"Vencimento do ICP");
$pdf->SetTextColor(255,255,0);
$pdf->SetFont('arial','B',44);
$pdf->Ln('20');
$pdf->SetX("111.6");
$pdf->Write(''," ".$data." ");
}else{
$pdf->SetFillColor('0');
$pdf->Cell(101.6,50.8,'',1,T,1, 1, true);
$pdf->Ln('20');
$pdf->SetX("5");
$pdf->Write('',"Vencimento do ICP");
$pdf->SetTextColor(255,255,0);
$pdf->SetFont('arial','B',44);
$pdf->Ln('20');
$pdf->SetX("5");
$pdf->Write(''," ".$data." ");
}
$pdf->Output("arquivo", "I");
?>
